def isPalindrom(n):
    if n[::-1] == n:
        return True
    else:
        return False
n=str(input("请输入一串字符串:"))
print(isPalindrom(n))